// 默认样式配置
export const defaultStyles = {
    point: {
        stroke: {
            color: '#ff0000',
            width: 2
        },
        // 添加点的专门样式
        image: {
            radius: 7,
            fill: {
                color: '#ff0000'
            },
            stroke: {
                color: '#ffffff',
                width: 2
            }
        }
    },
    linestring: {
        stroke: {
            color: '#0000ff',
            width: 2
        }
    },
    polygon: {
        stroke: {
            color: '#0000ff',
            width: 2
        },
        fill: {
            color: 'rgba(0, 0, 255, 0.1)'
        }
    },
    // 添加军事标绘样式
    arc: {
        stroke: {
            color: '#ff0000',
            width: 2,
            lineDash: [4, 8]  // 添加虚线效果
        }
    },
    ellipse: {
        stroke: {
            color: '#ff0000',
            width: 2
        },
        fill: {
            color: 'rgba(255, 0, 0, 0.1)'
        }
    },
    curve: {
        stroke: {
            color: '#ff0000',
            width: 2
        }
    },
    // 新增样式
    rectflag: {
        stroke: {
            color: '#00ff00',
            width: 2
        },
        fill: {
            color: 'rgba(0, 255, 0, 0.1)'
        }
    },
    triangleflag: {
        stroke: {
            color: '#0000ff',
            width: 2
        },
        fill: {
            color: 'rgba(0, 0, 255, 0.1)'
        }
    },
    curveflag: {
        stroke: {
            color: '#ff00ff',
            width: 2
        },
        fill: {
            color: 'rgba(255, 0, 255, 0.1)'
        }
    }
};